//
// Created by Administrator on 4/29/2023.
//

#ifndef LIBKZ_FILEIO_H
#define LIBKZ_FILEIO_H

#include <string>
#include <vector>
using namespace std;

class FileIO {
public:
    static int TxCsvToCom(string& portName, const string& filePath);
    static int ExtractCsv(const string& filePath, vector<uint8_t>& txData);
    static int TxCom(string& portName, const uint8_t* data, size_t len);
private:

};

/* 打印内存值 */
void PutRam(const uint8_t* data, size_t len);
#endif //LIBKZ_FILEIO_H
